using System;

namespace EP.Base.BaseService.Manager.Model.Entity
{    
	/// <summary>
    /// EsTaskConfig 实体
    /// </summary>
    public class EsTaskConfig
    {
		/// <summary>
		/// 任务配置Id
		/// </summary>        
		public int Id { get; set; }
		/// <summary>
		/// 索引配置Id
		/// </summary>        
		public int IndexConfigId { get; set; }
		/// <summary>
		/// 0 清理 1备份
		/// </summary>        
		public short Type { get; set; }
		/// <summary>
		/// 任务的配置
		/// </summary>        
		public string Configs { get; set; }
		/// <summary>
		/// 执行计划
		/// </summary>        
		public string Cron { get; set; }
		/// <summary>
		/// 最后执行时间
		/// </summary>        
		public DateTime LastRunTime { get; set; }
		/// <summary>
        ///  0失败 1成功
		/// </summary>        
		public short LastRunResult { get; set; }
		/// <summary>
		/// 最后运行结果说明
		/// </summary>        
		public string LastRunLog { get; set; }
		/// <summary>
		/// 0未启动 1已启动
		/// </summary>        
		public short State { get; set; }
		/// <summary>
		/// 间隔（分钟）
		/// </summary>        
		public int Interval { get; set; }
		/// <summary>
		/// 创建时间
		/// </summary>        
		public DateTime CreateTime { get; set; }
		 
    }
}
